<?php
$conn = mysqli_connect(localhost, root, 74642486,db_user,3306); //准备SQL语句,查询用户名

$username = $_POST['username'];
$password = $_POST['password'];
$sex = $_POST['sex'];
$qq = $_POST['qq'];
$phone = $_POST['phone'];
$email = $_POST['email'];
$address = $_POST['address'];

$sql_insert = "INSERT INTO tb_user(username,password,sex,qq,email,phone,address) VALUES ('$username','$password','$sex','$qq','$email','$phone','$address')";
mysqli_query($conn, $sql_insert);
header("Location:super_loginsucc.php?err=1");